package com.ksm.client.document.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ksm.transfer.dto.DocumentDTO;
import com.ksm.transfer.dto.DocumentFilterDTO;
import com.ksm.transfer.dto.JustificatifDTO;
import com.ksm.transfer.dto.TvaDTO;
import com.ksm.transfer.dto.TypeDocumentDTO;

public interface IKsmServiceAsync {

	public void findDocumentByFilter(DocumentFilterDTO filterDTO, AsyncCallback<List<DocumentDTO>> callback);

	void saveDocument(DocumentDTO documentDTO, AsyncCallback<DocumentDTO> callback);

	public void saveJustificatif(JustificatifDTO justificatifDTO, AsyncCallback<JustificatifDTO> callback);

	public void loadTva(AsyncCallback<List<TvaDTO>> callback);

	public void loadTypeDocument(AsyncCallback<List<TypeDocumentDTO>> callback);
}
